package ooday04homework;

public class AnonInnerClassDemo {
    public static void main(String[] args) {
        Inter inter1 = new Inter() {
        };
        Inter inter2 = new Inter() {
        };
        InterInter interInter1 = new InterInter() {
            @Override
            public void show() {
                System.out.println("hhh");
            }
        };
        interInter1.show();
        InterInter interInter2 = new InterInter() {
            @Override
            public void show() {
                System.out.println("lala");
            }
        };
        interInter2.show();
    }
}
